﻿<ResourceDictionary
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:ud="clr-namespace:UnitDriven.Controls">
	
	<Style TargetType="ud:WatermarkTextBox">
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="ud:WatermarkTextBox">
					<Grid>
						<TextBox x:Name="text" Text="{TemplateBinding Content}" />
						<TextBlock x:Name="watermark" Text="{TemplateBinding Watermark}" Opacity=".5" />
					</Grid>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>

</ResourceDictionary>
